﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B25 RID: 2853
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MIFEPBDNGGC : IMessage<MIFEPBDNGGC>, IMessage, IEquatable<MIFEPBDNGGC>, IDeepCloneable<MIFEPBDNGGC>, IBufferMessage
	{
		// Token: 0x1700240A RID: 9226
		// (get) Token: 0x06007FB8 RID: 32696 RVA: 0x00154EA4 File Offset: 0x001530A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MIFEPBDNGGC> Parser
		{
			get
			{
				return MIFEPBDNGGC._parser;
			}
		}

		// Token: 0x1700240B RID: 9227
		// (get) Token: 0x06007FB9 RID: 32697 RVA: 0x00154EAB File Offset: 0x001530AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MIFEPBDNGGCReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700240C RID: 9228
		// (get) Token: 0x06007FBA RID: 32698 RVA: 0x00154EBD File Offset: 0x001530BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MIFEPBDNGGC.Descriptor;
			}
		}

		// Token: 0x06007FBB RID: 32699 RVA: 0x00154EC4 File Offset: 0x001530C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MIFEPBDNGGC()
		{
		}

		// Token: 0x06007FBC RID: 32700 RVA: 0x00154ECC File Offset: 0x001530CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MIFEPBDNGGC(MIFEPBDNGGC other) : this()
		{
			this.buffId_ = other.buffId_;
			this.aPHHCAOHLMK_ = other.aPHHCAOHLMK_;
			this.uniqueId_ = other.uniqueId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007FBD RID: 32701 RVA: 0x00154F09 File Offset: 0x00153109
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MIFEPBDNGGC Clone()
		{
			return new MIFEPBDNGGC(this);
		}

		// Token: 0x1700240D RID: 9229
		// (get) Token: 0x06007FBE RID: 32702 RVA: 0x00154F11 File Offset: 0x00153111
		// (set) Token: 0x06007FBF RID: 32703 RVA: 0x00154F19 File Offset: 0x00153119
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BuffId
		{
			get
			{
				return this.buffId_;
			}
			set
			{
				this.buffId_ = value;
			}
		}

		// Token: 0x1700240E RID: 9230
		// (get) Token: 0x06007FC0 RID: 32704 RVA: 0x00154F22 File Offset: 0x00153122
		// (set) Token: 0x06007FC1 RID: 32705 RVA: 0x00154F2A File Offset: 0x0015312A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint APHHCAOHLMK
		{
			get
			{
				return this.aPHHCAOHLMK_;
			}
			set
			{
				this.aPHHCAOHLMK_ = value;
			}
		}

		// Token: 0x1700240F RID: 9231
		// (get) Token: 0x06007FC2 RID: 32706 RVA: 0x00154F33 File Offset: 0x00153133
		// (set) Token: 0x06007FC3 RID: 32707 RVA: 0x00154F3B File Offset: 0x0015313B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong UniqueId
		{
			get
			{
				return this.uniqueId_;
			}
			set
			{
				this.uniqueId_ = value;
			}
		}

		// Token: 0x06007FC4 RID: 32708 RVA: 0x00154F44 File Offset: 0x00153144
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MIFEPBDNGGC);
		}

		// Token: 0x06007FC5 RID: 32709 RVA: 0x00154F54 File Offset: 0x00153154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MIFEPBDNGGC other)
		{
			return other != null && (other == this || (this.BuffId == other.BuffId && this.APHHCAOHLMK == other.APHHCAOHLMK && this.UniqueId == other.UniqueId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007FC6 RID: 32710 RVA: 0x00154FB0 File Offset: 0x001531B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BuffId != 0U)
			{
				num ^= this.BuffId.GetHashCode();
			}
			if (this.APHHCAOHLMK != 0U)
			{
				num ^= this.APHHCAOHLMK.GetHashCode();
			}
			if (this.UniqueId != 0UL)
			{
				num ^= this.UniqueId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007FC7 RID: 32711 RVA: 0x00155021 File Offset: 0x00153221
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007FC8 RID: 32712 RVA: 0x00155029 File Offset: 0x00153229
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007FC9 RID: 32713 RVA: 0x00155034 File Offset: 0x00153234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BuffId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.BuffId);
			}
			if (this.UniqueId != 0UL)
			{
				output.WriteRawTag(88);
				output.WriteUInt64(this.UniqueId);
			}
			if (this.APHHCAOHLMK != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.APHHCAOHLMK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007FCA RID: 32714 RVA: 0x001550AC File Offset: 0x001532AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BuffId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BuffId);
			}
			if (this.APHHCAOHLMK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.APHHCAOHLMK);
			}
			if (this.UniqueId != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.UniqueId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007FCB RID: 32715 RVA: 0x0015511C File Offset: 0x0015331C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MIFEPBDNGGC other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BuffId != 0U)
			{
				this.BuffId = other.BuffId;
			}
			if (other.APHHCAOHLMK != 0U)
			{
				this.APHHCAOHLMK = other.APHHCAOHLMK;
			}
			if (other.UniqueId != 0UL)
			{
				this.UniqueId = other.UniqueId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007FCC RID: 32716 RVA: 0x00155180 File Offset: 0x00153380
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007FCD RID: 32717 RVA: 0x0015518C File Offset: 0x0015338C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 88U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.APHHCAOHLMK = input.ReadUInt32();
						}
					}
					else
					{
						this.UniqueId = input.ReadUInt64();
					}
				}
				else
				{
					this.BuffId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040030DF RID: 12511
		private static readonly MessageParser<MIFEPBDNGGC> _parser = new MessageParser<MIFEPBDNGGC>(() => new MIFEPBDNGGC());

		// Token: 0x040030E0 RID: 12512
		private UnknownFieldSet _unknownFields;

		// Token: 0x040030E1 RID: 12513
		public const int BuffIdFieldNumber = 4;

		// Token: 0x040030E2 RID: 12514
		private uint buffId_;

		// Token: 0x040030E3 RID: 12515
		public const int APHHCAOHLMKFieldNumber = 14;

		// Token: 0x040030E4 RID: 12516
		private uint aPHHCAOHLMK_;

		// Token: 0x040030E5 RID: 12517
		public const int UniqueIdFieldNumber = 11;

		// Token: 0x040030E6 RID: 12518
		private ulong uniqueId_;
	}
}
